home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr35
/
guestppe.zip
/
GUEST.PPS
< prev
Wrap
Text File
|
1993-07-01
|
4KB
|
82 lines
;****************************************************************************
;* *
;* "Who was that masked man?" *
;* *
;* "I dunno, but he left his name and address in the caller log!" *
;* *
;* GUEST.PPE was written on July 1st, 1993 by Wm Duemler *
;* with the help of everyone who is beta testing PCBoard *
;* 15.0. I will now list them individually by name... *
;* *
;* Nevermind. The comments are already longer than the code. *
;* *
;* This simple PPE is dedicated to Larry Steele who regularly *
;* helps me learn how to do this stuff by posting his source *
;* code. Please feel free to modify this in any way you like *
;* as long as you make the source code available to everyone *
;* and add things that will help other sysops. *
;* *
;* **************************************************************************
;* *
;* TIPS BBS is run by Ven-Tel Modems (nice plug!). Many of our *
;* customers have need to call in and get firmware code updates that *
;* are not readily available to the general public. We set them up *
;* with a special guest user account and a special security level of *
;* 35 (regular users are 30). The only account on the board with this *
;* security level is the one named SPECIAL CUSTOMER, so I created a *
;* special file called 35 which displays every time someone logs on *
;* as SPECIAL CUSTOMER. 35 is a one-line text file that says: *
;* *
;* !C:\PCB\PPE\GUEST.PPE *
;* *
;* All this PPE does is prompt the guest user for their real name *
;* and location. It writes it to the caller log so I know who has *
;* really been using my guest account. *
;* *
;* What a huge build-up for a silly little PPE! *
;* *
;****************************************************************************
STRING Answer,Name,City
:askquestions
Answer = ""
Name = ""
City = ""
CLS
PRINTLN
PRINTLN "@X00@X4F Please enter your REAL name and where you are calling from. @X07"
PRINTLN
:getname
PRINTLN
INPUTTEXT "@X0BYour REAL name (First and Last): @X02",Name,0Eh,25
PRINTLN
if (Name="") goto getname
PRINTLN
:getcity
INPUTTEXT "@X0BWhere are you calling from? @X02",City,0Eh,40
PRINTLN
if (City = "") goto getcity
PRINTLN
INPUTYN "@X04Is the above information correct? @X0E",Answer,0Eh
if (Answer <> YesChar()) goto askquestions
PRINTLN
PRINTLN
PRINTLN "@X8FThank You!@XFF"
PRINTLN
LOG "Caller's City: "+City,false
LOG "Caller's Real Name: "+Name,false
MORE